package cn.madog.utils;

import java.util.HashMap;
import java.util.Map;

public class Question {
    private int questionId;
    private String questionMain;
    private String questionAnswer;
    private String questionAnalysis;
    private HashMap<String, String> answerList;

    public int getQuestionId() {
        return questionId;
    }

    public void setQuestionId(int questionId) {
        this.questionId = questionId;
    }

    public String getQuestionMain() {
        return questionMain;
    }

    public void setQuestionMain(String questionMain) {
        this.questionMain = questionMain;
    }

    public String getQuestionAnswer() {
        return questionAnswer;
    }

    public void setQuestionAnswer(String questionAnswer) {
        this.questionAnswer = questionAnswer;
    }

    public String getQuestionAnalysis() {
        return questionAnalysis;
    }

    public void setQuestionAnalysis(String questionAnalysis) {
        this.questionAnalysis = questionAnalysis;
    }

    public Map<String, String> getAnswerList() {
        return answerList;
    }

    public void setAnswerList(HashMap<String, String> answerList) {
        this.answerList = answerList;
    }

    @Override
    public String toString() {
        return "Question{" +
                "questionId=" + questionId +
                ", questionMain='" + questionMain + '\'' +
                ", questionAnswer='" + questionAnswer + '\'' +
                ", questionAnalysis='" + questionAnalysis + '\'' +
                ", answerList=" + answerList +
                '}';
    }
}
